package com.tpp.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;


@Component
public class RabbitMqConfig {

    @Bean
    public Queue queue1(){
         return new Queue("tpp-cloud-mail");
    }
    @Bean
    public Queue queue2(){
        return new Queue("tpp-cloud-information");
    }
}
